﻿CREATE TABLE [dbo].[x360ce_Layouts] (
    [Id]               UNIQUEIDENTIFIER NOT NULL,
    [Name]             NVARCHAR (128)   CONSTRAINT [DF_x360ce_Layouts_Name] DEFAULT ('') NOT NULL,
    [ButtonA]          NVARCHAR (32)    CONSTRAINT [DF_x360ce_Layouts_ButtonA] DEFAULT ('') NOT NULL,
    [ButtonB]          NVARCHAR (32)    CONSTRAINT [DF_x360ce_Layouts_ButtonB] DEFAULT ('') NOT NULL,
    [ButtonBack]       NVARCHAR (32)    CONSTRAINT [DF_x360ce_Layouts_ButtonBack] DEFAULT ('') NOT NULL,
    [ButtonGuide]      NVARCHAR (32)    CONSTRAINT [DF_x360ce_Layouts_ButtonGuide] DEFAULT ('') NOT NULL,
    [ButtonStart]      NVARCHAR (32)    CONSTRAINT [DF_x360ce_Layouts_ButtonStart] DEFAULT ('') NOT NULL,
    [ButtonX]          NVARCHAR (32)    CONSTRAINT [DF_x360ce_Layouts_ButtonX] DEFAULT ('') NOT NULL,
    [ButtonY]          NVARCHAR (32)    CONSTRAINT [DF_x360ce_Layouts_ButtonY] DEFAULT ('') NOT NULL,
    [DPad]             NVARCHAR (32)    CONSTRAINT [DF_x360ce_Layouts_DPad] DEFAULT ('') NOT NULL,
    [DPadDown]         NVARCHAR (32)    CONSTRAINT [DF_x360ce_Layouts_DPadDown] DEFAULT ('') NOT NULL,
    [DPadLeft]         NVARCHAR (32)    CONSTRAINT [DF_x360ce_Layouts_DPadLeft] DEFAULT ('') NOT NULL,
    [DPadRight]        NVARCHAR (32)    CONSTRAINT [DF_x360ce_Layouts_DPadRight] DEFAULT ('') NOT NULL,
    [DPadUp]           NVARCHAR (32)    CONSTRAINT [DF_x360ce_Layouts_DPadUp] DEFAULT ('') NOT NULL,
    [LeftShoulder]     NVARCHAR (32)    CONSTRAINT [DF_x360ce_Layouts_LeftShoulder] DEFAULT ('') NOT NULL,
    [LeftThumbAxisX]   NVARCHAR (32)    CONSTRAINT [DF_x360ce_Layouts_LeftThumbAxisX] DEFAULT ('') NOT NULL,
    [LeftThumbAxisY]   NVARCHAR (32)    CONSTRAINT [DF_x360ce_Layouts_LeftThumbAxisY] DEFAULT ('') NOT NULL,
    [LeftThumbButton]  NVARCHAR (32)    CONSTRAINT [DF_x360ce_Layouts_LeftThumbButton] DEFAULT ('') NOT NULL,
    [LeftThumbDown]    NVARCHAR (32)    CONSTRAINT [DF_x360ce_Layouts_LeftThumbDown] DEFAULT ('') NOT NULL,
    [LeftThumbLeft]    NVARCHAR (32)    CONSTRAINT [DF_x360ce_Layouts_LeftThumbLeft] DEFAULT ('') NOT NULL,
    [LeftThumbRight]   NVARCHAR (32)    CONSTRAINT [DF_x360ce_Layouts_LeftThumbRight] DEFAULT ('') NOT NULL,
    [LeftThumbUp]      NVARCHAR (32)    CONSTRAINT [DF_x360ce_Layouts_LeftThumbUp] DEFAULT ('') NOT NULL,
    [LeftTrigger]      NVARCHAR (32)    CONSTRAINT [DF_x360ce_Layouts_LeftTrigger] DEFAULT ('') NOT NULL,
    [RightShoulder]    NVARCHAR (32)    CONSTRAINT [DF_x360ce_Layouts_RightShoulder] DEFAULT ('') NOT NULL,
    [RightThumbAxisX]  NVARCHAR (32)    CONSTRAINT [DF_x360ce_Layouts_RightThumbAxisX] DEFAULT ('') NOT NULL,
    [RightThumbAxisY]  NVARCHAR (32)    CONSTRAINT [DF_x360ce_Layouts_RightThumbAxisY] DEFAULT ('') NOT NULL,
    [RightThumbButton] NVARCHAR (32)    CONSTRAINT [DF_x360ce_Layouts_RightThumbButton] DEFAULT ('') NOT NULL,
    [RightThumbDown]   NVARCHAR (32)    CONSTRAINT [DF_x360ce_Layouts_RightThumbDown] DEFAULT ('') NOT NULL,
    [RightThumbLeft]   NVARCHAR (32)    CONSTRAINT [DF_x360ce_Layouts_RightThumbLeft] DEFAULT ('') NOT NULL,
    [RightThumbRight]  NVARCHAR (32)    CONSTRAINT [DF_x360ce_Layouts_RightThumbRight] DEFAULT ('') NOT NULL,
    [RightThumbUp]     NVARCHAR (32)    CONSTRAINT [DF_x360ce_Layouts_RightThumbUp] DEFAULT ('') NOT NULL,
    [RightTrigger]     NVARCHAR (32)    CONSTRAINT [DF_x360ce_Layouts_RightTrigger] DEFAULT ('') NOT NULL,
    CONSTRAINT [PK_x360ce_Layouts] PRIMARY KEY CLUSTERED ([Id] ASC)
);

